<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MainMaster.master"
    CodeFile="DoctorsDetails.aspx.cs" Inherits="DoctorsDetails" Title="Doctor Details" %>

<%@ Register Assembly="DayPilot" Namespace="DayPilot.Web.Ui" TagPrefix="DayPilot" %>
<%@ Register Src="../includes/showRate.ascx" TagName="showRate" TagPrefix="uc4" %>
<%@ Register Src="../includes/Rating.ascx" TagName="Rating" TagPrefix="uc3" %>
<%@ Register Src="../includes/DoctorEmailSend.ascx" TagName="DoctorEmailSend" TagPrefix="uc2" %>
<%--<%@ Register Src="../includes/DoctorMenu.ascx" TagName="DoctorMenu" TagPrefix="uc1" %>--%>
<%@ Register Src="../includes/uclrLogin.ascx" TagName="login" TagPrefix="uc5" %>
<%@ MasterType VirtualPath="~/MainMaster.master" %>
<asp:Content ID="MainContent" ContentPlaceHolderID="MainTable" runat="server" Visible="true">
    <script type="text/javascript">
    function ShowPPTFile(url)
    {
    window.open(url,'view file','top=' + t + ',left=' + l +
			',height=' + h + ',width=' + w + ',resizable=1,scrollbars=1');
    }

    flowplayer("a.player", "FlowPlayer/flowplayer-3.2.16.swf", {
        plugins: {
            pseudo: { url: "FlowPlayer/flowplayer.pseudostreaming-3.2.12.swf" }
        },
        clip: { provider: 'pseudo', autoPlay: false},
    });
    
    
     $(function () {
            $("#dialog-modal").dialog({
                    height: 350,
                  width: 702,
          autoOpen: false,
         modal: true,
       open: function (type, data) {
    $(this).parent().appendTo("form");
       },
    close: function (type, data) {
   //alert("Modal popup window has been closed");
      }
     });
     });
     
      $(function () {
            $("#dialog-Video").dialog({
                    height: 350,
                  width: 702,
          autoOpen: false,
         modal: true,
       open: function (type, data) {
    $(this).parent().appendTo("form");
       },
    close: function (type, data) {
   //alert("Modal popup window has been closed");
      }
     });
     });
      $(function () {
            $("#dialog-fileUpload").dialog({
                    height: 350,
                  width: 702,
          autoOpen: false,
         modal: true,
       open: function (type, data) {
    $(this).parent().appendTo("form");
       },
    close: function (type, data) {
   //alert("Modal popup window has been closed");
      }
     });
     });
       $(function () {
            $("#dialog-caseStudy").dialog({
                    height: 350,
                  width: 702,
          autoOpen: false,
         modal: true,
       open: function (type, data) {
    $(this).parent().appendTo("form");
       },
    close: function (type, data) {
        }
     });
     });
      $(function () {
            $("#dialod-Slides").dialog({
                    height: 350,
                  width: 502,
          autoOpen: false,
           modal: true,
       open: function (type, data) {
    $(this).parent().appendTo("form");
       },
    close: function (type, data) {
        }
        
     });
      
     });
    </script>
    <div class="heading_inner">
        <div class="heading_topic">
            <h2>
                <% if (Session["DoctorType"].ToString() != "Doctor")
                   {%>Profile<%}
                   else
                   { %>
                <%--  <uc1:DoctorMenu ID="DoctorMenu1" runat="server" doctorWithProfile="true" />--%>
                <h2>
                    <%} %></h2>
        </div>
    </div>
    <div class="cl">
    </div>
    <div class="profile_nav2">
        <ul>
            <%if ((Request.QueryString["id"] != null) && (Session["userid"] != null))
              {
                  if (Request.QueryString["id"].ToString() != Session["userid"].ToString())
                  { %>
            <a href="<%=Session["strHttp"]%>">
                <li>
                    <img src="<%=Session["strHttp"]%>images/search_p.png" width="10" height="10" alt="" />&nbsp;Start
                    New Search</li></a>
            <%}
              }%>
            <%else if ((RewriteModule.RewriteContext.Current.Params["Id"] != null) && (Session["userid"] != null))
              {
                  if (RewriteModule.RewriteContext.Current.Params["Id"].ToString() != Session["userid"].ToString())
                  { %>
            <a href="<%=Session["strHttp"]%>">
                <li>
                    <img src="<%=Session["strHttp"]%>images/search_p.png" width="10" height="10" alt="" />&nbsp;Start
                    New Search</li></a>
            <%}
              }%>
            <% else
              {%>
            <a href="<%=Session["strHttp"]%>">
                <li>
                    <img src="<%=Session["strHttp"]%>images/search_p.png" width="10" height="10" alt="" />&nbsp;Start
                    New Search</li></a>
            <%} %>
        </ul>
    </div>
    <div class="left-side">
        <h2>
            Doctor Profile
        </h2>
    </div>
    <!---/ Left wrapper -->
    <div class="cl">
    </div>
    <div class="prf_main">
        <!--DOCTOR PROFILE STARTS HERE -->
        <div class="doc_sts">
            <%if (imgTag.Text.Length > 0)
              {%>
            <div style="width: 490px; height: 240px">
                <asp:Literal ID="imgTag" runat="server" Visible="true"></asp:Literal>
                <asp:Literal ID="gender" runat="server" Visible="false"></asp:Literal>
            </div>
            <%} %>
            <div class="doc_details">
                <p>
                    <span class="name_font">
                        <asp:Label ID="lblName" runat="server"></asp:Label></span> <span class="categ">&nbsp;<asp:Label
                            ID="lblTitle" runat="server"></asp:Label><br />
                            <asp:Label ID="lblSpeciality" runat="server"></asp:Label>&nbsp;
                            <asp:Label ID="lblPSpeciality" runat="server"></asp:Label>&nbsp;
                            <asp:Label ID="lblSSpecialty" runat="server"></asp:Label>
                        </span>
                    <br />
                </p>
            </div>
            <div class="doc_add">
                <p>
                    <asp:Label ID="lblAddress" runat="server"></asp:Label>
                </p>
                <p>
                    <span class="ref_link">
                        <asp:Label ID="lbl_web" runat="server"></asp:Label></span>
                </p>
                <p>
                    (<asp:HyperLink ID="lnkGoogle" runat="server" Target="_blank">Google Maps™ View </asp:HyperLink>)
                    &nbsp; &nbsp; (<asp:HyperLink ID="lnkGoogle1" runat="server" Target="_blank">Satellite View</asp:HyperLink>)</p>
                <p>
                    <asp:Label ID="lbl_about" runat="server" Style="text-align: justify"></asp:Label>
                    <p>
            </div>
            <div class="doc_bio">
                <table width="450" border="0" cellspacing="0" cellpadding="2">
                    <tr bgcolor="#d5e3f7">
                        <td>
                            Insurance
                        </td>
                        <td>
                            <font color="#6e7984">
                                <asp:Label ID="lblInsurance" runat="server"></asp:Label></font>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Medical School
                        </td>
                        <td>
                            <font color="#6e7984">
                                <asp:Label ID="lblMedicalSchool" runat="server"></asp:Label></font>
                        </td>
                    </tr>
                    <tr bgcolor="#d5e3f7">
                        <td>
                            Residency Training
                        </td>
                        <td>
                            <font color="#6e7984">
                                <asp:Label ID="lblResidency" runat="server"></asp:Label></font>
                        </td>
                    </tr>
                    <tr id="RowFellowshipName" runat="server">
                        <td>
                            Fellowship
                        </td>
                        <td>
                            <font color="#6e7984">
                                <asp:Label ID="lblFellowship" runat="server"></asp:Label></font>
                        </td>
                    </tr>
                    <tr bgcolor="#d5e3f7">
                        <td>
                            Hospital Affiliation
                        </td>
                        <td>
                            <font color="#6e7984">
                                <asp:Label ID="lblHospital" runat="server"></asp:Label></font>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Major Activity
                        </td>
                        <td>
                            <font color="#6e7984">
                                <asp:Label ID="lblmgrActivity" runat="server"></asp:Label></font>
                        </td>
                    </tr>
                    <tr bgcolor="#d5e3f7">
                        <td>
                            Group Practice
                        </td>
                        <td>
                            <font color="#6e7984">
                                <asp:Label ID="lblgroupprac" runat="server"></asp:Label></font>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Languages
                        </td>
                        <td>
                            <font color="#6e7984">
                                <asp:Label ID="lbllanguage" runat="server"></asp:Label></font>
                        </td>
                    </tr>
                    <tr bgcolor="#d5e3f7">
                        <td>
                            Board Certified
                        </td>
                        <td>
                            <font color="#6e7984">
                                <asp:Label ID="lblAbms" runat="server"></asp:Label></font>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Accept new Patients
                        </td>
                        <td>
                            <font color="#6e7984">
                                <asp:Label ID="lbl_new" runat="server"></asp:Label></font>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <!--DOCTOR HALF PART01 ENDS HERE -->
        <div class="doc_table">
            <!--DOCTOR HALF PART02 STARTS HERE -->
            <div>
                <table width="450" border="0" cellspacing="0" cellpadding="3" style="float: left;
                    margin-top: 10px;">
                    <tr>
                        <td width="32">
                            <img src="<%=Session["strHttp"]%>images/rating.png" width="23" height="23" alt="" />
                        </td>
                        <td width="418">
                            <%-- <asp:LinkButton ID="lnk_rate" CssClass="buttonclass" runat="server"  OnClick="lnk_rate_Click">Rate Dr. <%=lblName.Text  %></asp:LinkButton></td>--%>
                            <%if ((Request.QueryString["id"] != null))
                              {%>
                            <a class="new_button" href='<%=Session["strHttp"]%>doctor/RateDoctors.aspx?Id=<%=Request.QueryString["id"]%>'>
                                Rate Dr.
                                <%=lblName.Text%></a>
                            <%}%>
                            <%else if ((RewriteModule.RewriteContext.Current.Params["Id"] != null))
                              {%>
                            <a class="new_button" href='<%=Session["strHttp"]%>doctor/RateDoctors.aspx?Id=<%=RewriteModule.RewriteContext.Current.Params["Id"]%>'>
                                Rate Dr.
                                <%=lblName.Text%></a>
                            <%}%>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img src="<%=Session["strHttp"]%>images/connect.png" width="23" height="23" alt="" />
                        </td>
                        <td>
                            <asp:LinkButton runat="server" CssClass="new_button" ID="linkViewPostMessage" Text=""
                                OnClick="linkViewPostMessage_Click"></asp:LinkButton>
                        </td>
                    </tr>
                    <tr>
                        <td width="32">
                            <img src="<%=Session["strHttp"]%>images/mail_p.png" width="23" height="23" alt="" />
                        </td>
                        <td width="418">
                            <%if ((Request.QueryString["id"] != null))
                              {%>
                            <a class="new_button" href='<%=Session["strHttp"]%>doctor/EmailToDoctor.aspx?Id=<%=Request.QueryString["id"]%>'>
                                Email Dr.
                                <%=lblName.Text%></a>
                            <%}%>
                            <%else if ((RewriteModule.RewriteContext.Current.Params["Id"] != null))
                              {%>
                            <a class="new_button" href='<%=Session["strHttp"]%>doctor/EmailToDoctor.aspx?Id=<%=RewriteModule.RewriteContext.Current.Params["Id"]%>'>
                                Email Dr.
                                <%=lblName.Text%></a>
                            <%}%>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="doc_ratings">
                <div class="rating_header">
                    Overall Rating -
                    <asp:Label ID="lblOver" runat="server"></asp:Label>
                </div>
                <table width="420" border="0" cellspacing="0" cellpadding="2" class="table_rating">
                    <tr style="background-color: #e4df94">
                        <td width="151">
                            Training
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="TrainingRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #fcfcb2">
                        <td>
                            <font color="#a9a357">Medical School</font>
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="MedicalSchoolRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #fcfcb2">
                        <td>
                            <font color="#a9a357">Residency</font>
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="ResidencyRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #fcfcb2" id="RowFellow" runat="server">
                        <td>
                            <font color="#a9a357">Fellowship</font>
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="FellowshipRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #e4df94">
                        <td>
                            Expertise
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="ExpertiseRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #fcfcb2">
                        <td>
                            <font color="#a9a357">Hospital Affiliation</font>
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="HospitalAffiliationRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #fcfcb2">
                        <td>
                            <font color="#a9a357">Doctor Endorsements</font>
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="DoctorEndorsementRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #fcfcb2">
                        <td>
                            <font color="#a9a357">Years of Experience</font>
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="YearsExpRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #e4df94">
                        <td>
                            Patient Opinion
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="PatientOpinionRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #fcfcb2">
                        <td>
                            <font color="#a9a357">Office Staff </font>
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="OfficeStaffRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #fcfcb2">
                        <td>
                            <font color="#a9a357">Office Setting</font>
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="OfficeSettingRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #fcfcb2">
                        <td>
                            <font color="#a9a357">Wait Timel</font>
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="WaitRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #fcfcb2">
                        <td>
                            <font color="#a9a357">Medical Knowledge</font>
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="ClinicalKnowledgeRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #fcfcb2">
                        <td>
                            <font color="#a9a357">Bedside Manner</font>
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="BesideMannerRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #fcfcb2">
                        <td>
                            <font color="#a9a357">Patient Confidence</font>
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="PatientConfidenceRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #fcfcb2">
                        <td>
                            <font color="#a9a357">Patient Satisfaction</font>
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="PatientSatisfactionRate" runat="server" />
                        </td>
                    </tr>
                    <tr style="background-color: #e4df94">
                        <td>
                            Cost
                        </td>
                        <td colspan="5">
                            <uc4:showRate ID="costRate" imageName="dolar" runat="server" />
                        </td>
                    </tr>
                </table>
                <div class="doc_reviews">
                    <p>
                        Doctor Endorsements:
                        <asp:Label ID="lbl_endorse" runat="server" Text="Label"></asp:Label>
                    </p>
                    <p>
                        Patient Reviews:
                        <asp:Literal ID="litReviews" runat="server"></asp:Literal>
                    </p>
                </div>
            </div>
        </div>
        <!-------------inayat----->
        <!--DOCTOR HALF PART02 ENDS HERE -->
        <br />
        <div style="width: 600px; display: none">
            <asp:MultiView runat="server" ID="MultiView1" ActiveViewIndex="0">
                <asp:View runat="server" ID="View1">
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td align="center" style="width: 516px; height: 141px;">
                                <!-- contents -->
                                <table width="100%">
                                    <tr>
                                        <td align="center">
                                            <%--   <uc1:DoctorMenu ID="DoctorMenu1" runat="server" />--%>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left">
                                            <table cellpadding="0" width="100%" cellspacing="5" border="0" runat="server" id="peerRating">
                                                <tr>
                                                    <td colspan="3">
                                                        <font style="color: blue">Helpful Hint:</font>
                                                        <br />
                                                        Simply drag your mouse over the Red Checks to the right of each Category. As you
                                                        drag from left to right, the checks will turn red, click on your desired rating
                                                        (1-5 checks) and your opinion is saved and incorporated into a doctors score. The
                                                        existing red checks are the doctor’s current ratings, so you can view what others
                                                        have rated this doctor in the past.
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td nowrap style="height: 30px; font-weight: bold; font-size: 13px; color: blue;">
                                                        <strong>Endorse Dr.
                                                            <%=lblName.Text%></strong>
                                                    </td>
                                                    <td width="20%" align="left" style="padding-left: 10px" nowrap>
                                                        <uc3:Rating ID="Rating1" runat="server" RatingType="PeerReferal" totalScore="15">
                                                        </uc3:Rating>
                                                    </td>
                                                    <td width="60%" align="left">
                                                        <input id="btnSubmit" type="button" value="Submit" onclick="location.href='RateComplete.aspx?dr=<%=lblName.Text%>    ';" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left" style="height: 20px">
                                            <%
                                                if (((Request.QueryString["id"] != null) && (Request.QueryString["id"].ToString() == "89798")) || ((RewriteModule.RewriteContext.Current.Params["Id"] != null) && (RewriteModule.RewriteContext.Current.Params["Id"].ToString() == "89798")))
                                                {
                                            %>
                                            <!-- Code to display doctor vedio and images at  291008 by Ranjeet -->
                                            <!-- Start of Brightcove Player -->
                                            <br />
                                            <div style="display: none">
                                            </div>
                                            <script src="http://admin.brightcove.com/js/experience_util.js"></script>
                                            <script>
                                                // By use of this code snippet, I agree to the Brightcove Publisher T and C 
                                                // found at http://corp.brightcove.com/legal/terms_publisher.cfm. 

                                                var config = new Array();

                                                /* 
                                                * feel free to edit these configurations
                                                * to modify the player experience
                                                */
                                                config["videoId"] = null; //the default video loaded into the player
                                                config["videoRef"] = null; //the default video loaded into the player by ref id specified in console
                                                config["lineupId"] = null; //the default lineup loaded into the player
                                                config["playerTag"] = null; //player tag used for identifying this page in brightcove reporting
                                                config["autoStart"] = false; //tells the player to start playing video on load
                                                config["preloadBackColor"] = "#FFFFFF"; //background color while loading the player


                                                /* 
                                                * set the player's size using the parameters below
                                                * to make this player dynamically resizable, set the width and height as a percentage
                                                */
                                                config["width"] = 400;
                                                config["height"] = 300;

                                                /* do not edit these config items */
                                                config["playerId"] = 1885433962;

                                                createExperience(config);
                                            </script>
                                            <!-- End of Brightcove Player -->
                                            <!-- End Code to display doctor vedio and images at  291008 by Ranjeet -->
                                            <%
                                                }                                                                                                                                                                                                                               
                                            %>
                                            <%
                                                else if (((Request.QueryString["id"] != null) && (Request.QueryString["id"].ToString() == "709356")) || ((RewriteModule.RewriteContext.Current.Params["Id"] != null) && (RewriteModule.RewriteContext.Current.Params["Id"].ToString() == "709356")))
                                                {
                                            %>
                                            <!-- Code to display doctor vedio and images at  291008 by Ranjeet -->
                                            <!-- Start of Brightcove Player -->
                                            <br />
                                            <div style="display: none">
                                            </div>
                                            <script src="http://admin.brightcove.com/js/experience_util.js"></script>
                                            <script>
                                                // By use of this code snippet, I agree to the Brightcove Publisher T and C 
                                                // found at http://corp.brightcove.com/legal/terms_publisher.cfm. 

                                                var config = new Array();

                                                /* 
                                                * feel free to edit these configurations
                                                * to modify the player experience
                                                */
                                                config["videoId"] = null; //the default video loaded into the player
                                                config["videoRef"] = null; //the default video loaded into the player by ref id specified in console
                                                config["lineupId"] = null; //the default lineup loaded into the player
                                                config["playerTag"] = null; //player tag used for identifying this page in brightcove reporting
                                                config["autoStart"] = false; //tells the player to start playing video on load
                                                config["preloadBackColor"] = "#FFFFFF"; //background color while loading the player


                                                /* 
                                                * set the player's size using the parameters below
                                                * to make this player dynamically resizable, set the width and height as a percentage
                                                */
                                                config["width"] = 400;
                                                config["height"] = 300;

                                                /* do not edit these config items */
                                                config["playerId"] = 1797019168;

                                                createExperience(config);
                                            </script>
                                            <!-- End of Brightcove Player -->
                                            <!-- End Code to display doctor vedio and images at  291008 by Ranjeet -->
                                            <%
                                                }                                                                                                                                                                                                                               
                                            %>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td align="center">
                                <%if ((Request.QueryString["id"] != null) && (Session["userid"] != null))
                                  {
                                      if (Request.QueryString["id"].ToString() != Session["userid"].ToString())
                                      { %>
                                <br />
                                <asp:Button ID="btnBack" runat="server" OnClick="btnBack_Click" Text="Back To Results" />
                                <%}
                                  }%>
                                <%else if ((RewriteModule.RewriteContext.Current.Params["Id"] != null) && (Session["userid"] != null))
                                  {
                                      if (RewriteModule.RewriteContext.Current.Params["Id"].ToString() != Session["userid"].ToString())
                                      { %>
                                <br />
                                <asp:Button ID="Button2" runat="server" OnClick="btnBack_Click" Text="Back To Results" />
                                <%}
                                  }%>
                                <% else
                                  {%>
                                <br />
                                <asp:Button ID="Button1" runat="server" OnClick="btnBack_Click" Text="Back To Results" />
                                <%} %>
                            </td>
                        </tr>
                    </table>
                    <uc2:DoctorEmailSend ID="DoctorEmailSend1" runat="server" />
                </asp:View>
                <asp:View runat="server" ID="View2">
                    <table cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td align="center">
                                <asp:Label ID="lblMsg" runat="server"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </asp:View>
            </asp:MultiView>
        </div>
    </div>
    <div class="cl">
    </div>
    <div>
        <% if (IsVideoVisible)
           { %>
        <div class="video">
            <h2>
                Doctor Video</h2>
            <ul class="list-company">
                <asp:DataList ID="dtlFbVideo" Visible="true" runat="server" AutoGenerateColumns="false"
                    RepeatColumns="5" CellSpacing="15">
                    <ItemTemplate>
                        <iframe width="200px" height="150px" runat="server" id="ifUrl" src='<%# Eval("FbUrl") %>'>
                        </iframe>
                    </ItemTemplate>
                </asp:DataList>
                <script type="text/javascript">
                          flowplayer("a.player", "<%=Session["strHttps"]%>FlowPlayer/flowplayer-3.2.16.swf", {
                            plugins: {
                              pseudo: { url: "<%=Session["strHttps"]%>FlowPlayer/flowplayer.pseudostreaming-3.2.12.swf" }
                               },
                             clip: { provider: 'pseudo', autoPlay: false,autoBuffering: false},
                          });
                </script>
            </ul>
        </div>
        <% } if (IsPresentationVisible)
           { %>
        <div class="video">
            <h2>
                Doctor Presentation</h2>
            <ul class="list-company">
                <asp:Repeater ID="rptrPresendation" runat="server">
                    <ItemTemplate>
                        <li><a style="height: 100px; width: 150px; border: 1px; background-position: center;
                            background-attachment: scroll; display: block" href='<%=Session["strHttp"]%>ShowPPT.aspx?Filename=<%# Eval("PresentationFile") %>&download=true'>
                            <asp:Image ID="Image1" runat="server" BorderWidth="1px" Height="100px" Width="150px"
                                ImageUrl='<%#GetPresentaionImage(Eval("ThumbNail"))%>' />
                        </a>
                            <div>
                                <h4>
                                    <%-- <a style="height: 100px; width: 150px; border: 1px; background-position: center;
                                        background-attachment: scroll; display: block" href='<%=Session["strHttp"]%>ShowPPT.aspx?Filename=<%# Eval("PresentationFile") %>'>
                                    --%>
                                    <asp:LinkButton ID="lnkp" runat="server" Text='<%# Eval("Title")%>' ToolTip="Click to View"></asp:LinkButton>
                                    <%--</a>--%>
                                </h4>
                            </div>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
        <% } %>
    </div>
    <!--DOCTOR PROFILE ENDS HERE -->
    <br />
    <br />
</asp:Content>
<asp:Content ID="iScriptContent" ContentPlaceHolderID="ScriptContent" runat="server">
    <script src="<%=Session["strHttp"]%>Js/jquery.min.js"></script>
    <script type="text/javascript">
        $(function () {
            var dvImage = $("<div/>");
            dvImage.attr("id", "dvImage");
            dvImage.css({ "position": "absolute", "border": "1px", "border-color": "Black" });
            $("form").append(dvImage);
        });
        $(".pic").live("mouseover", function (e) {
            var img = $(this)[0];
            var p = GetCordinates($(this)[0]);
            $("#dvImage").offset({ top: p.y + 50, left: p.x + 50 })
            $("#dvImage").html("<img src='" + img.src + "' width='500px' height='400px'" + "' border ='1px' border-color='Black' />");
        });
        $(".pic").live("mouseleave", function () {
            $("#dvImage").html('');
        });
        function GetCordinates(obj) {
            var p = {};
            p.x = obj.offsetLeft;
            p.y = obj.offsetTop;
            while (obj.offsetParent) {
                p.x = p.x + obj.offsetParent.offsetLeft;
                p.y = p.y + obj.offsetParent.offsetTop;
                if (obj == document.getElementsByTagName("form")[0]) {
                    break;
                }
                else {
                    obj = obj.offsetParent;
                }
            }
            return p;
        }
  
    </script>
</asp:Content>
